#pragma once
#define MAXLEN	256	

#include <string>
#include "Parser.h"
#include <vector>

using namespace std;

class Date
{
private:
	int year;
	int month;
	int day;
	int hour;

public:
	Date( const string& date );
	unsigned long GetTimeNum();
	int Compare( Date anotherDate );
	bool IsValidDate();
	string toString() const;

	int GetYear();
	int GetMonth();
	int GetDay();
	int GetHour();
	~Date(void);
};